package com.txg._01;

public class PRC_01 {
    public static void main (String[] args){
        byte a1 = 10;
        byte a2 = 20;

        // 强转数据类型
        byte result = (byte)(a1 + a2);
        System.out.println(result);

        System.out.println("---------------------------------");

        // 数字和字符相加时会根据ASCII码表的值来运算出结果
        char b1 = 'a';
        System.out.println(b1+a1);
    }
}
